package lia.org.model;

import javax.persistence.Embedded;
import javax.persistence.Id;

import com.googlecode.objectify.Key;
import com.googlecode.objectify.annotation.Entity;

@Entity
public class Modelo {
	@Id
	String name; // Can be Long, long, or String
	@Embedded Marca marca;
	
	
	

	public Marca getMarca() {
		return marca;
	}

	public void setMarca(Marca marca) {
		this.marca = marca;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Modelo(String name) {
		super();
		this.name = name;
	}

	public Modelo() {
		super();
		// TODO Auto-generated constructor stub
	}

	public Modelo(String name, Marca marca) {
		super();
		this.name = name;
		this.marca = marca;
	}
	
	
	
}
